package com.jingdun.sport.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jingdun.sport.bean.model.RoomUserSportRecordPerDay;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * <p>
 * 活动室完成训练表 服务类
 * </p>
 *
 * @author powell
 * @since 2020-07-11
 */
public interface RoomUserSportRecordPerDayService extends IService<RoomUserSportRecordPerDay> {

    List<RoomUserSportRecordPerDay> getAllRoomMapUserByRoomId(Set<Long> ufinishedRoomIdSet);

    List<RoomUserSportRecordPerDay> getAllRecordByRoomIdAndUserId(String roomId, String userId);

    long getAllRecordByRoomIdAndUserIdAndDate(String userId, Long roomId, Date date);
}
